#ifndef WIFIPAGEVIEW_HPP
#define WIFIPAGEVIEW_HPP

#include <gui_generated/wifipage_screen/WiFiPageViewBase.hpp>
#include <gui/wifipage_screen/WiFiPagePresenter.hpp>

class WiFiPageView : public WiFiPageViewBase
{
public:
    WiFiPageView();
    virtual ~WiFiPageView() {}
    virtual void setupScreen();
    virtual void tearDownScreen();
		//获取WiFi模组的RSSI值
		virtual void updateWiFiRSSI(uint8_t (&pWiFiInfo)[40], uint16_t newRSSI);	
		//文本与RSSI更新
    void TextAreaAddStr(uint8_t* str, uint32_t len, uint16_t newRSSI);
		//连接WiFi
		virtual void connectWiFi();
		//物理按键的页面跳转
		void WiFiPageChange(uint8_t newFiveKeyFunc);
protected:
		uint8_t textBuf[200];
};

#endif // WIFIPAGEVIEW_HPP
